package com.ruoyi.security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.security.model.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface UserMapper extends BaseMapper<SysUser> {


    @Select("select user_id,user_name,password,status from sys_user where user_name =#{username}")
    SysUser selectByUserName(String username);
}
